package cn.xinfei.xdecision.common.model.datax.consts;

public class CommonConstant {
    /**
     * 中央风控系统编码
     */
    public static final String RCS_SYSTEM_CODE="25";

    /**
     * 中央风控系统名称
     */
    public static final String RCS_SYSTEM_NAME="rcs";

    public static final String ILLEGAL_JSON_CODE = "311000";
    public static final String ILLEGAL_JSON_MESSAGE = "JSON格式非法";
    public static final int ILLEGAL_JSON_STATUS = 500;

    public static final String HTTP_REQUEST_ERROR_CODE = "311001";
    public static final String HTTP_REQUEST_ERROR_MESSAGE = "网络调用异常";
    public static final int HTTP_REQUEST_ERROR_STATUS = 500;

    public static final String CODE_REQUEST_FAS_ERROR="311003";
    public static final String MESSAGE_REQUEST_FAS_ERROR="请求账务系统失败";

    public static final String CODE_REQUEST_USER_ERROR="311004";
    public static final String MESSAGE_REQUEST_USER_ERROR="请求中台获取用户要素失败";

    public static final String CODE_REQUEST_MIDOFFICE_ERROR="311004";
    public static final String MESSAGE_REQUEST_MIDOFFICE_ERROR="中台网关回调异常";

    public static final String CODE_REQUEST_DATA_CENTER_ERROR="311005";
    public static final String MESSAGE_REQUEST_DATA_CENTER_ERROR="请求数据中心失败";

    public static final String CODE_REQUEST_FUND_ERROR="311006";
    public static final String MESSAGE_REQUEST_FUND_ERROR="请求资金系统失败";

    public static final String RIBBON_HEALTH_CHECK_URL="/service-health";

    /**loan_type*/
    public static final String LOAN_TYPE_CASHLOAN = "cash_loan"; //大额
    public static final String LOAN_TYPE_XEXQ_TYPE = "xexq_type";
    public static final String LOAN_TYPE_PERSONAL_LOAN = "personal_loan";//个人信贷

    public static final String DECISION_LABEL="risk_decision_label";

    public static final String STATUS_PASS = "PASS";

    public static final String USER_ASSET_TYPE = "user_asset_type";//资产类型
    public static final String USER_ASSET_TYPE_36 = "36";
    public static final String USER_ASSET_TYPE_24 = "24";
    public static final int PAGE = 1;


    /** controller 日志信息关键字段 **/
    public static final String REQUEST_TIME = "request_time";
    public static final String RESPONSE_TIME = "response_time";
    public static final String REQUEST_URI = "request_uri";
    public static final String RPC_CONTEXT = "Rpc-context";
    public static final String REQUEST_BODY = "request_body";
    public static final String RESPONSE_BODY = "response_body";

}
